package com.ruoyi.deliver.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 发货管理对象 project_deliver
 * 
 * @author 刘晋羽
 * @date 2025-08-08
 */
public class ProjectDeliver extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 发货单号 */
    @Excel(name = "发货单号")
    private Long deliverId;

    /** 承运时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "承运时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 所属团长 */
    @Excel(name = "所属团长")
    private String leader;

    /** 货物数量 */
    @Excel(name = "货物数量")
    private Long goodsNum;

    /** 运输司机 */
    @Excel(name = "运输司机")
    private String driver;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carBrand;

    /** 运输状态 */
    @Excel(name = "运输状态")
    private Integer status;

    public void setDeliverId(Long deliverId) 
    {
        this.deliverId = deliverId;
    }

    public Long getDeliverId() 
    {
        return deliverId;
    }

    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    public void setLeader(String leader) 
    {
        this.leader = leader;
    }

    public String getLeader() 
    {
        return leader;
    }

    public void setGoodsNum(Long goodsNum) 
    {
        this.goodsNum = goodsNum;
    }

    public Long getGoodsNum() 
    {
        return goodsNum;
    }

    public void setDriver(String driver) 
    {
        this.driver = driver;
    }

    public String getDriver() 
    {
        return driver;
    }

    public void setCarBrand(String carBrand) 
    {
        this.carBrand = carBrand;
    }

    public String getCarBrand() 
    {
        return carBrand;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deliverId", getDeliverId())
            .append("time", getTime())
            .append("leader", getLeader())
            .append("goodsNum", getGoodsNum())
            .append("driver", getDriver())
            .append("carBrand", getCarBrand())
            .append("status", getStatus())
            .toString();
    }
}
